home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Camelot
/
Camelot 134 (1991-10)(Swedish User Group of Amiga)(SE)(PD)[WB].zip
/
Camelot 134 (1991-10)(Swedish User Group of Amiga)(SE)(PD)[WB].adf
/
RxSlides
/
RxSlides.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-08
|
2KB
|
58 lines
/*
* RxSlides.h -- header file for RxSlides
*
* Oct. 27, 1988 Dean Bandes from Dissolve by Lee M. Robertson
*/
#define STS_OK 0
#define STS_UNKNOWN_CMD 1 /* Unknown command */
#define STS_NOT_ILBM 5 /* Not an ILBM file */
#define STS_NOT_PICTURE 6 /* Not a picture file */
#define STS_NO_PIC_OPEN 7 /* Unable to open picture file */
#define STS_BAD_PSIZE 8 /* Invalid picture size */
#define STS_BAD_BMHD 9 /* Missing bit map header */
#define STS_BAD_BMHDSIZE 10 /* Incorrect BMHD size */
#define STS_NO_BODY_BUF 11 /* No memory for body buffer */
#define STS_NO_DECODE 12 /* Invalid decode flag */
#define STS_READ_ERROR 13 /* Read error */
#define STS_BAD_ALLOC 14 /* Insufficient memory */
#define STS_NO_WINDOW 15 /* Unable to open window */
#define STS_NO_SCREEN 16 /* Unable to open screen */
#define STS_CLEANING_UP 21 /* Program is exiting */
#define STS_BAD_ARGS 22 /* Invalid arguments */
#define STS_BAD_LIBS 23 /* Unable to open libraries */
#define STS_NO_PORT 24 /* Unable to open message port */
#define DM_ZAP 0
#define DM_TWIPE 1
#define DM_BWIPE 2
#define DM_LWIPE 3
#define DM_RWIPE 4
#define DM_VBLIN 5
#define DM_DISSO 6
#define MAX_TRANSITION DM_DISSO
#define CMSIZE 3*32 /* # of bytes in color register map */
/*---------------------------------------------------------------------------
* following are definitions from the IFF specification
*-------------------------------------------------------------------------*/
struct BitMapHeader
{
UWORD w, h;
WORD x, y;
UBYTE nPlanes;
UBYTE masking;
UBYTE compression;
UBYTE pad1;
UWORD transparentColor;
UBYTE xAspect, yAspect;
WORD pageWidth, pageHeight;
};
struct ColorRegister
{
UBYTE red, green, blue;
};